package pl.lsierant.j2me.bipacz.timer;

import pl.lsierant.j2me.bipacz.intervaltimer.Interval;

/**
 * Interface for updating current timer information in the UI.
 * 
 */
public interface ITimerUI {
    /**
     * Update timer UI with current timer time;
     * 
     * @param time
     *            current time in milliseconds
     */
    void updateTime(long time);

    /**
     * Sets current timer interval. Invoked once when current interval changes.
     * 
     * @param current
     *            interval
     */
    void setCurrentInterval(Interval interval);
}
